package com.yjd.comm.financial.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.financial.model.FinancialCountDataModel;

/**
 * <b>description</b>：财务报表数据业务接口<br>
 * <b>time</b>：2014-12-17 11:51:30 <br>
 * <b>author</b>：  percy-chen@hotmail.com
 */
public interface IFinancialCountDataService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public FinancialCountDataModel insert(FinancialCountDataModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(FinancialCountDataModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param date
	 * @return
	 * @throws Exception
	 */
	public int delete(Long date) throws Exception;

}
